import type { UserState } from '@/models/user-info'
import { getToken } from '@/utils/cookies'
export { UserState }

const state: UserState = {
  token: getToken() || '',
  name: '',
  avatar: '',
  introduction: '',
  roles: null,
  email: ''
}

export default state
